package com.lecture.junit.tdd.example;

public interface IAccount {

    public Boolean passwordMatches(String pass);

    public void setLoggedIn();
    
    public void setLoggedOut();

    public void setRevoked();

    public boolean isLoggedIn();

    public boolean isRevoked();

    public String getUserName();
    
    public boolean isExpared();
    
    public Boolean changePassword(String oldpass, String newpass);
    
    public Boolean isPasswordOld (String oldpass);
        
    public long getLastTimeActivity ();

    public void setLastTimeActivity(long l);
    
    public int howOldIsPassword(String newpass);
    
    
    
    

}
